feat(sdk): add MAS FEAT compliance module#58
Merged
Conversation
Add MAS FEAT (Singapore MAS) compliance types: Enums: - MaterialityClassification (high/medium/low) - SystemStatus (draft/active/suspended/retired) - FEATAssessmentStatus (pending/in_progress/completed/approved/rejected) - KillSwitchStatus (enabled/disabled/triggered) - AISystemUseCase (credit_scoring, robo_advisory, etc.) Request/Response Types (all with Builder pattern): - RegisterSystemRequest, AISystemRegistry, RegistrySummary - CreateAssessmentRequest, UpdateAssessmentRequest, FEATAssessment - ConfigureKillSwitchRequest, CheckKillSwitchRequest, KillSwitch - ApproveAssessmentRequest, RejectAssessmentRequest - TriggerKillSwitchRequest, RestoreKillSwitchRequest - KillSwitchEvent Enterprise Feature: Requires AxonFlow Enterprise license.
02350f6 to
17757e7
Compare
Add tests for all enums, request builders, and response types in the MAS FEAT compliance module to improve coverage.
Replace List<String> with List<Finding> for type safety. Add FEATPillar, FindingSeverity, FindingStatus enums. Finding includes: id, pillar, severity, category, description, status, remediation, dueDate.
Add MASFEATNamespace inner class with all MAS FEAT API methods: Registry: - registerSystem, activateSystem, getSystem, getRegistrySummary Assessments: - createAssessment, getAssessment, updateAssessment - submitAssessment, approveAssessment, rejectAssessment Kill Switch: - getKillSwitch, configureKillSwitch, triggerKillSwitch - restoreKillSwitch, getKillSwitchHistory Includes field name mapping (customerImpact → risk_rating_impact, etc.) and response parsing with alternate field name handling.
- Switch from MockWebServer to WireMock (consistent with project)
- Fix activateSystem test to match PUT /registry/{id} endpoint
- Fix method signatures (approveAssessment, restoreKillSwitch, etc)
- Remove listSystems test (method not implemented yet)
- Use string comparison for KillSwitchEvent eventType
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Java SDK support for MAS FEAT (Monetary Authority of Singapore Fairness, Ethics, Accountability, Transparency) compliance framework.
Features:
Enterprise Feature: Requires AxonFlow Enterprise license.
Usage
Test plan
🤖 Generated with Claude Code